//========================================================================================
//  
//  $File: $
//  
//  Owner: chebi
//  
//  $Author: $
//  
//  $DateTime: $
//  
//  $Revision: $
//  
//  $Change: $
//  
//  Copyright 1997-2008 Adobe Systems Incorporated. All rights reserved.
//  
//  NOTICE:  Adobe permits you to use, modify, and distribute this file in accordance 
//  with the terms of the Adobe license agreement accompanying it.  If you have received
//  this file from a source other than Adobe, then your use, modification, or 
//  distribution of it requires the prior written permission of Adobe.
//  
//========================================================================================


#ifndef __WilID_h__
#define __WilID_h__

#include "SDKDef.h"
/*
 // Plug-in version string used in About box. In the debug build, we append 'D' at the end of the version string.
 */
#ifdef DEBUG
#define kWilPluginVersionString SDK_DEF_MAKE_VERSIONSTRING(1, 0, 0, 0)"D"
#else
#define kWilPluginVersionString SDK_DEF_MAKE_VERSIONSTRING(1, 0, 0, 0) 
#endif

#define kWilShortCopyrightStr "(C) 2012, LBS Software AR"
#define kWilCopyrightStandardValue 		"Copyright 2012 LBS3 Software AR. All Rights Reserved."
#define kWilHomePageUrl 	"http://www.lbs3.com.ar"

// Company:
#define kWilCompanyKey	"LBS3"		// Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
#define kWilCompanyValue	"LBS3 Software"	// Company name displayed externally.

// Plug-in:
#define kWilPluginName	"Highlighter Tool"			// Name of this plug-in.
#define kWilPrefixNumber	0x112200 		// Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
#define kWilVersion		kWilPluginVersionString						// Version of this plug-in (for the About Box).
#define kWilAuthor		"chebi"					// Author of this plug-in (for the About Box).

// Plug-in Prefix: (please change kWilPrefixNumber above to modify the prefix.)
#define kWilPrefix		RezLong(kWilPrefixNumber)				// The unique numeric prefix for all object model IDs for this plug-in.
#define kWilStringPrefix	SDK_DEF_STRINGIZE(kWilPrefixNumber)	// The string equivalent of the unique prefix number for  this plug-in.

// Missing plug-in: (see ExtraPluginInfo resource)
#define kWilMissingPluginURLValue		kSDKDefPartnersStandardValue_enUS // URL displayed in Missing Plug-in dialog
#define kWilMissingPluginAlertValue	kSDKDefMissingPluginAlertValue // Message displayed in Missing Plug-in dialog - provide a string that instructs user how to solve their missing plug-in problem

// PluginID:
DECLARE_PMID(kPlugInIDSpace, kWilPluginID, kWilPrefix + 0)

// ClassIDs:
DECLARE_PMID(kClassIDSpace, kWilActionComponentBoss, kWilPrefix + 0)
DECLARE_PMID(kClassIDSpace, kWilScriptProviderBoss, kWilPrefix + 3)
DECLARE_PMID(kClassIDSpace, kWilToolBoss, kWilPrefix + 4)
DECLARE_PMID(kClassIDSpace, kWilTrackerBoss, kWilPrefix + 5)
DECLARE_PMID(kClassIDSpace, kWilTrackerRegisterBoss, kWilPrefix + 6)
DECLARE_PMID(kClassIDSpace, kWilNoteSplineBoss, kWilPrefix + 7)
DECLARE_PMID(kClassIDSpace, kWilBase64StreamBoss, kWilPrefix + 8)
DECLARE_PMID(kClassIDSpace, kWilStartupShutdownBoss, kWilPrefix + 9)
DECLARE_PMID(kClassIDSpace, kWilDocWatchResponderServiceBoss, kWilPrefix + 10)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 11)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 12)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 13)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 14)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 15)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 16)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 17)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 18)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 19)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 20)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 21)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 22)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 23)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 24)
//DECLARE_PMID(kClassIDSpace, kWilBoss, kWilPrefix + 25)


// InterfaceIDs:
DECLARE_PMID(kInterfaceIDSpace, IID_IWILSUITE, kWilPrefix + 0)
DECLARE_PMID(kInterfaceIDSpace, IID_IWILNOTEDATA, kWilPrefix + 1)
DECLARE_PMID(kInterfaceIDSpace, IID_IWILEVENTUTIL, kWilPrefix + 2)
DECLARE_PMID(kInterfaceIDSpace, IID_IWILNOTEOBSERVER, kWilPrefix + 3)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 4)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 5)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 6)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 7)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 8)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 9)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 10)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 11)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 12)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 13)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 14)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 15)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 16)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 17)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 18)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 19)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 20)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 21)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 22)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 23)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 24)
//DECLARE_PMID(kInterfaceIDSpace, IID_IWILINTERFACE, kWilPrefix + 25)


// ImplementationIDs:
DECLARE_PMID(kImplementationIDSpace, kWilActionComponentImpl, kWilPrefix + 0 )
DECLARE_PMID(kImplementationIDSpace, kWilScriptProviderImpl, kWilPrefix + 1 )
DECLARE_PMID(kImplementationIDSpace, kWilSuiteASBImpl, kWilPrefix + 2 )
DECLARE_PMID(kImplementationIDSpace, kWilSuiteLayoutCSBImpl, kWilPrefix + 3 )
DECLARE_PMID(kImplementationIDSpace, kWilSuiteTextCSBImpl, kWilPrefix + 4 )
DECLARE_PMID(kImplementationIDSpace, kWilSuiteDefaultsCSBImpl, kWilPrefix + 5 )
DECLARE_PMID(kImplementationIDSpace, kWilToolImpl, kWilPrefix + 7)
DECLARE_PMID(kImplementationIDSpace, kWilCursorProviderImpl, kWilPrefix + 8)
DECLARE_PMID(kImplementationIDSpace, kWilTrackerImpl, kWilPrefix + 9)
DECLARE_PMID(kImplementationIDSpace, kWilTrackerRegisterImpl, kWilPrefix + 10)
DECLARE_PMID(kImplementationIDSpace, kWilNoteDataImpl, kWilPrefix + 11)
DECLARE_PMID(kImplementationIDSpace, kWilNoteObserverImpl, kWilPrefix + 12)
DECLARE_PMID(kImplementationIDSpace, kWilEventUtilImpl, kWilPrefix + 13)
DECLARE_PMID(kImplementationIDSpace, kWilStartupShutdownImpl, kWilPrefix + 14)
DECLARE_PMID(kImplementationIDSpace, kWilDocWatchResponderServiceImpl, kWilPrefix + 15)
DECLARE_PMID(kImplementationIDSpace, kWilDocWatchResponderImpl, kWilPrefix + 16)
DECLARE_PMID(kImplementationIDSpace, kWilNoteShapeImpl, kWilPrefix + 17)
DECLARE_PMID(kImplementationIDSpace, kWilErrorStringServiceImpl, kWilPrefix + 18)
DECLARE_PMID(kImplementationIDSpace, kWilNoteTipImpl, kWilPrefix + 19)
DECLARE_PMID(kImplementationIDSpace, kWilNoteDblClickHandlerImpl, kWilPrefix + 20)
//DECLARE_PMID(kImplementationIDSpace, kWilImpl, kWilPrefix + 21)
//DECLARE_PMID(kImplementationIDSpace, kWilImpl, kWilPrefix + 22)
//DECLARE_PMID(kImplementationIDSpace, kWilImpl, kWilPrefix + 23)
//DECLARE_PMID(kImplementationIDSpace, kWilImpl, kWilPrefix + 24)
//DECLARE_PMID(kImplementationIDSpace, kWilImpl, kWilPrefix + 25)


// ActionIDs:
DECLARE_PMID(kActionIDSpace, kWilAboutActionID, kWilPrefix + 0)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 5)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 6)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 7)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 8)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 9)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 10)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 11)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 12)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 13)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 14)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 15)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 16)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 17)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 18)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 19)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 20)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 21)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 22)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 23)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 24)
//DECLARE_PMID(kActionIDSpace, kWilActionID, kWilPrefix + 25)


// WidgetIDs:
DECLARE_PMID(kWidgetIDSpace, kWilToolWidgetID, kWilPrefix + 2)
DECLARE_PMID(kWidgetIDSpace, kWilToolIconResourceID, kWilPrefix + 3)
#define kWilToolIconRolloverResourceID kWilToolIconResourceID

//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 4)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 5)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 6)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 7)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 8)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 9)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 10)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 11)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 12)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 13)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 14)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 15)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 16)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 17)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 18)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 19)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 20)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 21)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 22)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 23)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 24)
//DECLARE_PMID(kWidgetIDSpace, kWilWidgetID, kWilPrefix + 25)

// ErrorIDs:
DECLARE_PMID(kErrorIDSpace, kWilFailureErrorCode,			kWilPrefix + 0)
DECLARE_PMID(kErrorIDSpace, kWilCreatePageItemErrorCode,		kWilPrefix + 1)

//Script Element IDs

DECLARE_PMID(kScriptInfoIDSpace, kWilMethodScriptElement, kWilPrefix + 1)
DECLARE_PMID(kScriptInfoIDSpace, kWilPropertyScriptElement, kWilPrefix + 2)


// "About Plug-ins" sub-menu:
#define kWilAboutMenuKey			kWilStringPrefix "kWilAboutMenuKey"
#define kWilAboutMenuPath		kSDKDefStandardAboutMenuPath kWilCompanyKey

// "Plug-ins" sub-menu:
#define kWilPluginsMenuKey 		kWilStringPrefix "kWilPluginsMenuKey"
#define kWilPluginsMenuPath		kSDKDefPlugInsStandardMenuPath kWilCompanyKey kSDKDefDelimitMenuPath kWilPluginsMenuKey

// Menu item keys:

// Other StringKeys:
#define kWilAboutBoxStringKey	kWilStringPrefix "kWilAboutBoxStringKey"
#define kWilTargetMenuPath kWilPluginsMenuPath
// Tool (string) IDs:
#define kWilToolStringKey		kWilStringPrefix kWilPluginName "kWilStringPrefix"

//Error StringKeys
#define kWilFailureErrorCodeErrorCodeStringKey		kWilStringPrefix "kWilFailureErrorCodeErrorCodeStringKey"
#define kWilCreatePageItemErrorCodeStringKey		kWilStringPrefix "kWilCreatePageItemErrorCodeStringKey"


// Menu item positions:


// Initial data format version numbers
#define kWilFirstMajorFormatNumber  RezLong(1)
#define kWilFirstMinorFormatNumber  RezLong(0)

// Data format version numbers for the PluginVersion resource 
#define kWilCurrentMajorFormatNumber kWilFirstMajorFormatNumber
#define kWilCurrentMinorFormatNumber kWilFirstMinorFormatNumber

// Otros recursos:
#define kIconWilResource 1135
#define kIconWilResourceID kIconWilResource


#define kWilNoteDataInitialMajorFormat 1
#define kWilNoteDataInitialMinorFormat 1

#define kWilNoteDataLastMajorFormat kWilNoteDataInitialMajorFormat
#define kWilNoteDataLastMinorFormat kWilNoteDataInitialMinorFormat

#define kWilNoteDataPersistentVersion 0

#define kWilLogFileName "wilson.log"
// Eventos CSXS /////////////////////////////////////////////////////////////////////////////////////////////////

#define kWilNombreExtension "com.lbs3.indesign.wilson"

/** Cuando se acaba de crear una nota con el Tool "anotar" */
#define kEventoPrepararNotaNueva "com.lbs3.wilson.eventos.prepararnotanueva"

#define kEventoListarNotasRequest "com.lbs3.wilson.eventos.listarnotasrequest"
#define kEventoListarNotasResponse "com.lbs3.wilson.eventos.listarnotasresponse"
#define kEventoCrearNotaRequest "com.lbs3.wilson.eventos.crearnotarequest"
#define kEventoCrearNotaResponse "com.lbs3.wilson.eventos.crearnotaresponse"

#define kEventoListarTodosLosComentariosRequest "com.lbs3.wilson.eventos.listartodosloscomentariosrequest"
#define kEventoListarTodosLosComentariosResponse "com.lbs3.wilson.eventos.listartodosloscomentariosresponse"


#define kEventoSeleccionarMarcadorRequest "com.lbs3.wilson.eventos.seleccionarmarcadorrequest"

#define kEventoOcultarMarcadoresRequest "com.lbs3.wilson.eventos.ocultarmarcadoresrequest"

#define kEventoEliminarMarcadorResponse "com.lbs3.wilson.eventos.eliminarmarcadorresponse"

#define kEventoListarComentariosRequest "com.lbs3.wilson.eventos.listarcomentariosrequest"
#define kEventoListarComentariosResponse "com.lbs3.wilson.eventos.listarcomentariosresponse"

#define kEventoAgregarComentarioReponse "com.lbs3.wilson.eventos.agregarcomentarioresponse"

#define kEventoDobleClicEnMarcadorReport "com.lbs3.wilson.eventos.dobleclicenmarcadorreport"

#define kEventoEliminarNotaRequest "com.lbs3.wilson.eventos.eliminarnotarequest"
#define kEventoEliminarNotaResponse "com.lbs3.wilson.eventos.eliminarnotaresponse"

/** cuando kWilExtensionModal esta listo a recibir mensajes */ 
#define kEventoModalPreparado "com.lbs3.wilson.eventos.modalpreparado"

/** Cuando alguien solicita crear un comentario nuevo para una nota */
#define kEventoNuevoComentario "com.lbs3.wilson.eventos.nuevocomentario"

/** Cuando el plugin agrega o borra un comentario de una nota */
#define kEventoComentarioNovedad "com.lbs3.wilson.eventos.comentarionovedad"

/** Cuando el plugin modifica de alguna forma una nota (le agrega/saca un comentario, modifica la geometria en el doc, la borra, etc)
 */
#define kEventoNotaNovedad "com.lbs3.wilson.eventos.notanovedad"


/** Estos son los ids de las extensiones a las que les envio los mensajes */
#define kWilExtensionModal "com.lbs3.extensionescs.wilson.modal.extension1"
#define kWilExtensionPaleta "com.lbs3.extensionescs.wilson.paleta.extension1"
#define kWilExtensionTooltip "com.lbs3.extensionescs.wilson.tooltip.extension1"

#define kWilsonXMPNamespace "http://xmp.lbs3.com.ar/wilson/1.0"
#define kWilsonXMPPrefix "wilson"

#define BREAK_IF(cond) if(cond) break;

#endif // __WilID_h__

//  Code generated by DollyXs code generator
